package com.example.dao;

import com.example.pojo.StuClass;
import com.example.pojo.Student;


import java.util.List;
import java.util.Map;

public interface StudentMapper {
    List<Student> getAllStudents();//获取全部学生信息
    List<Student> getStudentsByName( Map<String, Object> params);

    void updateStudent(Student student);
    void deleteStudentById(int stu_id);
    void addStudent(Student student);
    StuClass getClassByName(String class_name);
    List<String> getAllClasses();
    StuClass getClassByClassId(int class_id);
    StuClass getClassByClassName(String class_name);
    Student getStudentById(int stu_id);

}
